/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.musiqueFaces.model;

/**
 *
 * @author Jissay
 */
public class Song {

    private String title;
    private String text;
    private int artistId;
    private int id;


    /* CONSTRUCTORS */

    public Song(String title, int artistId) {
        this.title = title;
        this.artistId = artistId;
        this.text = "";
        this.id = -1;
    }

    public Song(String title, int artistId, int id) {
        this.title = title;
        this.artistId = artistId;
        this.text = "";
        this.id = id;
    }


    /* GETTERS AND SETTERS */

    public int getArtistId() {
        return artistId;
    }

    public void setArtistId(int artistId) {
        this.artistId = artistId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
